import xadmin
from xadmin import views
from .models import UserProfile,VerifyCode

class UserAdmin(object):
    list_display = ['id','mobile','state' ,'add_time']

class VerifyCodeAdmin(object):
    list_display = ['code','mobile','add_time']

xadmin.site.register(UserProfile,UserAdmin)
xadmin.site.register(VerifyCode,VerifyCodeAdmin)